<div class="tour-photos">

    <h1>Тур по школе</h1>
   <!--  
    <div class="gallery"> 
        <div class="prev"></div> 
        <div class="next"></div> 
        <div class="carusel">
          {if $photos}
            {foreach from=$photos item=photo}
            <a>
              <img src="{$photo.link}" />
            </a>  
              
             
            {/foreach}
            
          {else}  
          
            <div style="width:500px;height:300px;text-align:center;vertical-align:middle;line-height:20em;">
            нет фото
            </div>
          {/if}   
            <div style="clear:both"></div>
        </div>
    </div>
 -->
   
    
    {if $photos}
      {foreach from=$photos item=photo}
      <div class="item pro_wrapper pro_pad_port">
        <a class="pro_image_style3 pro_image_with_capt lightbox-image" data-gal="prettyPhoto[gallery]" href="{$photo.link}"> 
          <img alt="" src="{$photo.link}" style="opacity: 1;" />
          <span></span>
        </a> 
        
        <p class="first">{$photo.title}</p>
        <p class="second">{$photo.text}</p>
        
      </div>
      {/foreach}
    {/if}
    
  

  
    
    
 
</div>